package com.stupro.cjlu.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Administrator
 * @since 2021-05-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("students")
@ApiModel(value="Students对象", description="")
public class Students implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学生学号")
    @TableId(value = "stuID", type = IdType.AUTO)
    private Integer stuID;

    @ApiModelProperty(value = "学生姓名")
    @TableField("stuName")
    private String stuName;

    @ApiModelProperty(value = "学生账号")
    @TableField("stuUserName")
    private String stuUserName;

    @ApiModelProperty(value = "学生密码")
    @TableField("stuPwd")
    private String stuPwd;

    @ApiModelProperty(value = "学生班级")
    @TableField("stuClass")
    private String stuClass;

    @ApiModelProperty(value = "学生年龄")
    @TableField("stuAge")
    private Integer stuAge;

    @ApiModelProperty(value = "学生性别")
    @TableField("stuSex")
    private String stuSex;

    @ApiModelProperty(value = "学院号")
    @TableField("faID")
    private Integer faID;


}
